import {Injectable} from '@angular/core';
import {Subject} from 'rxjs';

@Injectable()
export class EventService {

    private _topToggleBtn: Subject<boolean> = new Subject<boolean>();
    private _showGlobalLoading: Subject<boolean> = new Subject<boolean>();

    get topToggleBtn(): Subject<boolean> {
        return this._topToggleBtn;
    }

    get showGlobalLoading(): Subject<boolean> {
        return this._showGlobalLoading;
    }
}
